import java.util.*;

class Employee {
    private String eno;
    private String name;
    private int age;
    private double salary;

    public Employee() {
    }

    public Employee(String eno, String name, int age, double salary) {
        this.eno = eno;
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    public String getEno() {
        return eno;
    }

    public void setEno(String eno) {
        this.eno = eno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "eno='" + eno + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", salary=" + salary +
                '}';
    }
}

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        HashMap<String, Employee> map = new HashMap<>();

        for (int i = 0; i < 3; i++) {
            Employee employee = new Employee();
            String s = sc.next();
            employee.setEno(s);
            s = sc.next();
            employee.setName(s);
            int age = sc.nextInt();
            employee.setAge(age);
            double salary = sc.nextDouble();
            employee.setSalary(salary);
            map.put(employee.getEno(), employee);
        }

        for (Map.Entry<String, Employee> x : map.entrySet()) {
            System.out.println(x);
        }
    }
}
